import service from '@/utils/request'

// @Tags LargeScaleOrderSapLog
// @Summary 创建大办单sap日志
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSapLog true "创建大办单sap日志"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /largeScaleOrderSapLog/createLargeScaleOrderSapLog [post]
export const createLargeScaleOrderSapLog = (data) => {
  return service({
    url: '/largeScaleOrderSapLog/createLargeScaleOrderSapLog',
    method: 'post',
    data
  })
}

// @Tags LargeScaleOrderSapLog
// @Summary 删除大办单sap日志
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSapLog true "删除大办单sap日志"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderSapLog/deleteLargeScaleOrderSapLog [delete]
export const deleteLargeScaleOrderSapLog = (params) => {
  return service({
    url: '/largeScaleOrderSapLog/deleteLargeScaleOrderSapLog',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderSapLog
// @Summary 批量删除大办单sap日志
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除大办单sap日志"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderSapLog/deleteLargeScaleOrderSapLog [delete]
export const deleteLargeScaleOrderSapLogByIds = (params) => {
  return service({
    url: '/largeScaleOrderSapLog/deleteLargeScaleOrderSapLogByIds',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderSapLog
// @Summary 更新大办单sap日志
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSapLog true "更新大办单sap日志"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /largeScaleOrderSapLog/updateLargeScaleOrderSapLog [put]
export const updateLargeScaleOrderSapLog = (data) => {
  return service({
    url: '/largeScaleOrderSapLog/updateLargeScaleOrderSapLog',
    method: 'put',
    data
  })
}

// @Tags LargeScaleOrderSapLog
// @Summary 用id查询大办单sap日志
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LargeScaleOrderSapLog true "用id查询大办单sap日志"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /largeScaleOrderSapLog/findLargeScaleOrderSapLog [get]
export const findLargeScaleOrderSapLog = (params) => {
  return service({
    url: '/largeScaleOrderSapLog/findLargeScaleOrderSapLog',
    method: 'get',
    params
  })
}

// @Tags LargeScaleOrderSapLog
// @Summary 分页获取大办单sap日志列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取大办单sap日志列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /largeScaleOrderSapLog/getLargeScaleOrderSapLogList [get]
export const getLargeScaleOrderSapLogList = (params) => {
  return service({
    url: '/largeScaleOrderSapLog/getLargeScaleOrderSapLogList',
    method: 'get',
    params
  })
}
